<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Resumes a paused service</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.win32-continue-service" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">win32_continue_service</h1>
  <p class="verinfo">(PECL win32service &gt;=0.1.0)</p><p class="refpurpose"><span class="refname">win32_continue_service</span> &mdash; <span class="dc-title">Resumes a paused service</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.win32-continue-service-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>win32_continue_service</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$servicename</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$machine</code></span>
  ] ) : <span class="type">int</span></div>

  
  <p class="para rdfs-comment">
   Resumes a paused, named service. Requires administrative privileges or 
   an account with appropriate rights set in the service&#039;s ACL.
  </p>
  
 </div>

 <div class="refsect1 parameters" id="refsect1-function.win32-continue-service-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">servicename</code></dt>

     <dd>

      <p class="para">
       The short name of the service.
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">machine</code></dt>

     <dd>

      <p class="para">
       Optional machine name.  If omitted, the local machine is used.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-function.win32-continue-service-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
    成功时返回 <strong><code>WIN32_NO_ERROR</code></strong>，参数错误时返回 <strong><code>FALSE</code></strong>，或失败时返回一个 <a href="win32service.constants.errors.html" class="link">Win32 错误码</a>。
  </p>
 </div>

 
 
 <div class="refsect1 changelog" id="refsect1-function.win32-continue-service-changelog">
  <h3 class="title">更新日志</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>版本</th>
       <th>说明</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>0.3.0</td>
       <td>
        This function does not longer require an administrator account if ACL is set for another account.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-function.win32-continue-service-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="win32_start_service.html" class="function" rel="rdfs-seeAlso">win32_start_service()</a> - Starts a service</span></li>
    <li class="member"><span class="function"><a href="win32_stop_service.html" class="function" rel="rdfs-seeAlso">win32_stop_service()</a> - Stops a service</span></li>
    <li class="member"><span class="function"><a href="win32_pause_service.html" class="function" rel="rdfs-seeAlso">win32_pause_service()</a> - Pauses a service</span></li>
    <li class="member"><span class="function"><a href="win32_send_custom_control.html" class="function" rel="rdfs-seeAlso">win32_send_custom_control()</a> - Send a custom control to the service</span></li>
    <li class="member"><a href="win32service.constants.errors.html" class="link">Win32 Error Codes</a></li>
   </ul>
  </p>
 </div>

 
</div></div></div></body></html>